#ifndef __XSFR_H__
#define __XSFR_H__

#define XRAM_AT_(x)       (*((volatile unsigned char xdata *)(x)))


#define     P00F        XRAM_AT_(0x8000)
#define     P01F        XRAM_AT_(0x8001)
#define     P02F        XRAM_AT_(0x8002)
#define     P03F        XRAM_AT_(0x8003)
#define     P04F        XRAM_AT_(0x8004)
#define     P05F        XRAM_AT_(0x8005)

#define 	S1RELL      XRAM_AT_(0x8068)
#define 	S1RELH      XRAM_AT_(0x8069)

#define 	P00C        XRAM_AT_(0x8120)
#define 	P01C        XRAM_AT_(0x8121)
#define 	P02C        XRAM_AT_(0x8122)
#define 	P03C        XRAM_AT_(0x8123)
#define 	P04C        XRAM_AT_(0x8124)
#define 	P05C        XRAM_AT_(0x8125)

#define 	MECON       XRAM_AT_(0xfc00)
#define 	FSCMD       XRAM_AT_(0xfc01)
#define 	FSDAT       XRAM_AT_(0xfc02)
#define 	LOCK        XRAM_AT_(0xfc03)
#define 	PTSL        XRAM_AT_(0xfc05)
#define 	PTSH        XRAM_AT_(0xfc06)

#endif  
